package com.itheima.d1_arrays.tset;

import com.sun.source.tree.ReturnTree;

public class TestDenoStart {
    public static void main(String[] args) {
        useRandomNumHandler(i -> i);
    }

    public static void useRandomNumHandler(RandomNumHandler rnh){
        int i = 1;
        rnh.getNumber(i);
    }
}

interface RandomNumHandler{
    int getNumber(int i);
}
